package com.wiloon.java8x.dataImport;

/**
 * Created by Administrator on 2015/5/28.
 */
public class DataCellString extends DataCellImpl implements DataCell {
    protected String value;

    public DataCellString() {

    }

    public DataCellString(String value) {
        this.value = value;
    }

    public String toString() {
        return value;
    }

    @Override
    public boolean isMultiValueCell() {
        for (String separator : getColumnMap().getExcelColumn().getSeparators()) {
            if (value.contains(separator)) {
                return true;
            }
        }
        return false;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    //public boolean is
}
